/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/
"use strict";

var $protobuf = require("protobufjs/minimal");

// Common aliases
var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;

// Exported root namespace
var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {});

$root.ConZoneType = (function() {

    /**
     * Properties of a ConZoneType.
     * @exports IConZoneType
     * @interface IConZoneType
     * @property {string|null} [uuid] ConZoneType uuid
     * @property {string|null} [upper] ConZoneType upper
     * @property {string|null} [validFlag] ConZoneType validFlag
     * @property {string|null} [creator] ConZoneType creator
     * @property {string|null} [createTime] ConZoneType createTime
     * @property {string|null} [creatorIp] ConZoneType creatorIp
     * @property {string|null} [lastModifier] ConZoneType lastModifier
     * @property {string|null} [lastModifyTime] ConZoneType lastModifyTime
     * @property {string|null} [lastModifierIp] ConZoneType lastModifierIp
     * @property {string|null} [ownerOrganize] ConZoneType ownerOrganize
     * @property {string|null} [ownerRole] ConZoneType ownerRole
     * @property {string|null} [serNum] ConZoneType serNum
     * @property {string|null} [serMemo] ConZoneType serMemo
     * @property {string|null} [serAudit] ConZoneType serAudit
     * @property {string|null} [serUsing] ConZoneType serUsing
     * @property {string|null} [serLabels] ConZoneType serLabels
     * @property {string|null} [serFileUrl] ConZoneType serFileUrl
     * @property {string|null} [serEditorContent] ConZoneType serEditorContent
     * @property {string|null} [serInputGroupData] ConZoneType serInputGroupData
     * @property {string|null} [serName] ConZoneType serName
     * @property {string|null} [serNameEn] ConZoneType serNameEn
     * @property {string|null} [serNameBgImgUrl] ConZoneType serNameBgImgUrl
     * @property {string|null} [serSortNumber] ConZoneType serSortNumber
     * @property {string|null} [fkZoneTemplate] ConZoneType fkZoneTemplate
     * @property {string|null} [serBigImgUrl] ConZoneType serBigImgUrl
     * @property {string|null} [fkUpperZone] ConZoneType fkUpperZone
     * @property {string|null} [enuPosition] ConZoneType enuPosition
     * @property {string|null} [enumAppVersion] ConZoneType enumAppVersion
     * @property {string|null} [enumRelevanceType] ConZoneType enumRelevanceType
     * @property {string|null} [fkRelevanceObj] ConZoneType fkRelevanceObj
     * @property {string|null} [fkGoods] ConZoneType fkGoods
     */

    /**
     * Constructs a new ConZoneType.
     * @exports ConZoneType
     * @classdesc Represents a ConZoneType.
     * @implements IConZoneType
     * @constructor
     * @param {IConZoneType=} [properties] Properties to set
     */
    function ConZoneType(properties) {
        if (properties)
            for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
                if (properties[keys[i]] != null)
                    this[keys[i]] = properties[keys[i]];
    }

    /**
     * ConZoneType uuid.
     * @member {string} uuid
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.uuid = "";

    /**
     * ConZoneType upper.
     * @member {string} upper
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.upper = "";

    /**
     * ConZoneType validFlag.
     * @member {string} validFlag
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.validFlag = "";

    /**
     * ConZoneType creator.
     * @member {string} creator
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.creator = "";

    /**
     * ConZoneType createTime.
     * @member {string} createTime
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.createTime = "";

    /**
     * ConZoneType creatorIp.
     * @member {string} creatorIp
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.creatorIp = "";

    /**
     * ConZoneType lastModifier.
     * @member {string} lastModifier
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.lastModifier = "";

    /**
     * ConZoneType lastModifyTime.
     * @member {string} lastModifyTime
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.lastModifyTime = "";

    /**
     * ConZoneType lastModifierIp.
     * @member {string} lastModifierIp
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.lastModifierIp = "";

    /**
     * ConZoneType ownerOrganize.
     * @member {string} ownerOrganize
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.ownerOrganize = "";

    /**
     * ConZoneType ownerRole.
     * @member {string} ownerRole
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.ownerRole = "";

    /**
     * ConZoneType serNum.
     * @member {string} serNum
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.serNum = "";

    /**
     * ConZoneType serMemo.
     * @member {string} serMemo
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.serMemo = "";

    /**
     * ConZoneType serAudit.
     * @member {string} serAudit
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.serAudit = "";

    /**
     * ConZoneType serUsing.
     * @member {string} serUsing
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.serUsing = "";

    /**
     * ConZoneType serLabels.
     * @member {string} serLabels
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.serLabels = "";

    /**
     * ConZoneType serFileUrl.
     * @member {string} serFileUrl
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.serFileUrl = "";

    /**
     * ConZoneType serEditorContent.
     * @member {string} serEditorContent
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.serEditorContent = "";

    /**
     * ConZoneType serInputGroupData.
     * @member {string} serInputGroupData
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.serInputGroupData = "";

    /**
     * ConZoneType serName.
     * @member {string} serName
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.serName = "";

    /**
     * ConZoneType serNameEn.
     * @member {string} serNameEn
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.serNameEn = "";

    /**
     * ConZoneType serNameBgImgUrl.
     * @member {string} serNameBgImgUrl
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.serNameBgImgUrl = "";

    /**
     * ConZoneType serSortNumber.
     * @member {string} serSortNumber
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.serSortNumber = "";

    /**
     * ConZoneType fkZoneTemplate.
     * @member {string} fkZoneTemplate
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.fkZoneTemplate = "";

    /**
     * ConZoneType serBigImgUrl.
     * @member {string} serBigImgUrl
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.serBigImgUrl = "";

    /**
     * ConZoneType fkUpperZone.
     * @member {string} fkUpperZone
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.fkUpperZone = "";

    /**
     * ConZoneType enuPosition.
     * @member {string} enuPosition
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.enuPosition = "";

    /**
     * ConZoneType enumAppVersion.
     * @member {string} enumAppVersion
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.enumAppVersion = "";

    /**
     * ConZoneType enumRelevanceType.
     * @member {string} enumRelevanceType
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.enumRelevanceType = "";

    /**
     * ConZoneType fkRelevanceObj.
     * @member {string} fkRelevanceObj
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.fkRelevanceObj = "";

    /**
     * ConZoneType fkGoods.
     * @member {string} fkGoods
     * @memberof ConZoneType
     * @instance
     */
    ConZoneType.prototype.fkGoods = "";

    /**
     * Creates a new ConZoneType instance using the specified properties.
     * @function create
     * @memberof ConZoneType
     * @static
     * @param {IConZoneType=} [properties] Properties to set
     * @returns {ConZoneType} ConZoneType instance
     */
    ConZoneType.create = function create(properties) {
        return new ConZoneType(properties);
    };

    /**
     * Encodes the specified ConZoneType message. Does not implicitly {@link ConZoneType.verify|verify} messages.
     * @function encode
     * @memberof ConZoneType
     * @static
     * @param {IConZoneType} message ConZoneType message or plain object to encode
     * @param {$protobuf.Writer} [writer] Writer to encode to
     * @returns {$protobuf.Writer} Writer
     */
    ConZoneType.encode = function encode(message, writer) {
        if (!writer)
            writer = $Writer.create();
        if (message.uuid != null && message.hasOwnProperty("uuid"))
            writer.uint32(/* id 1, wireType 2 =*/10).string(message.uuid);
        if (message.upper != null && message.hasOwnProperty("upper"))
            writer.uint32(/* id 2, wireType 2 =*/18).string(message.upper);
        if (message.validFlag != null && message.hasOwnProperty("validFlag"))
            writer.uint32(/* id 3, wireType 2 =*/26).string(message.validFlag);
        if (message.creator != null && message.hasOwnProperty("creator"))
            writer.uint32(/* id 4, wireType 2 =*/34).string(message.creator);
        if (message.createTime != null && message.hasOwnProperty("createTime"))
            writer.uint32(/* id 5, wireType 2 =*/42).string(message.createTime);
        if (message.creatorIp != null && message.hasOwnProperty("creatorIp"))
            writer.uint32(/* id 6, wireType 2 =*/50).string(message.creatorIp);
        if (message.lastModifier != null && message.hasOwnProperty("lastModifier"))
            writer.uint32(/* id 7, wireType 2 =*/58).string(message.lastModifier);
        if (message.lastModifyTime != null && message.hasOwnProperty("lastModifyTime"))
            writer.uint32(/* id 8, wireType 2 =*/66).string(message.lastModifyTime);
        if (message.lastModifierIp != null && message.hasOwnProperty("lastModifierIp"))
            writer.uint32(/* id 9, wireType 2 =*/74).string(message.lastModifierIp);
        if (message.ownerOrganize != null && message.hasOwnProperty("ownerOrganize"))
            writer.uint32(/* id 10, wireType 2 =*/82).string(message.ownerOrganize);
        if (message.ownerRole != null && message.hasOwnProperty("ownerRole"))
            writer.uint32(/* id 11, wireType 2 =*/90).string(message.ownerRole);
        if (message.serNum != null && message.hasOwnProperty("serNum"))
            writer.uint32(/* id 12, wireType 2 =*/98).string(message.serNum);
        if (message.serMemo != null && message.hasOwnProperty("serMemo"))
            writer.uint32(/* id 13, wireType 2 =*/106).string(message.serMemo);
        if (message.serAudit != null && message.hasOwnProperty("serAudit"))
            writer.uint32(/* id 14, wireType 2 =*/114).string(message.serAudit);
        if (message.serUsing != null && message.hasOwnProperty("serUsing"))
            writer.uint32(/* id 15, wireType 2 =*/122).string(message.serUsing);
        if (message.serLabels != null && message.hasOwnProperty("serLabels"))
            writer.uint32(/* id 16, wireType 2 =*/130).string(message.serLabels);
        if (message.serFileUrl != null && message.hasOwnProperty("serFileUrl"))
            writer.uint32(/* id 17, wireType 2 =*/138).string(message.serFileUrl);
        if (message.serEditorContent != null && message.hasOwnProperty("serEditorContent"))
            writer.uint32(/* id 18, wireType 2 =*/146).string(message.serEditorContent);
        if (message.serInputGroupData != null && message.hasOwnProperty("serInputGroupData"))
            writer.uint32(/* id 19, wireType 2 =*/154).string(message.serInputGroupData);
        if (message.serName != null && message.hasOwnProperty("serName"))
            writer.uint32(/* id 20, wireType 2 =*/162).string(message.serName);
        if (message.serNameEn != null && message.hasOwnProperty("serNameEn"))
            writer.uint32(/* id 21, wireType 2 =*/170).string(message.serNameEn);
        if (message.serNameBgImgUrl != null && message.hasOwnProperty("serNameBgImgUrl"))
            writer.uint32(/* id 22, wireType 2 =*/178).string(message.serNameBgImgUrl);
        if (message.serSortNumber != null && message.hasOwnProperty("serSortNumber"))
            writer.uint32(/* id 23, wireType 2 =*/186).string(message.serSortNumber);
        if (message.fkZoneTemplate != null && message.hasOwnProperty("fkZoneTemplate"))
            writer.uint32(/* id 24, wireType 2 =*/194).string(message.fkZoneTemplate);
        if (message.serBigImgUrl != null && message.hasOwnProperty("serBigImgUrl"))
            writer.uint32(/* id 25, wireType 2 =*/202).string(message.serBigImgUrl);
        if (message.fkUpperZone != null && message.hasOwnProperty("fkUpperZone"))
            writer.uint32(/* id 26, wireType 2 =*/210).string(message.fkUpperZone);
        if (message.enuPosition != null && message.hasOwnProperty("enuPosition"))
            writer.uint32(/* id 27, wireType 2 =*/218).string(message.enuPosition);
        if (message.enumAppVersion != null && message.hasOwnProperty("enumAppVersion"))
            writer.uint32(/* id 28, wireType 2 =*/226).string(message.enumAppVersion);
        if (message.enumRelevanceType != null && message.hasOwnProperty("enumRelevanceType"))
            writer.uint32(/* id 29, wireType 2 =*/234).string(message.enumRelevanceType);
        if (message.fkRelevanceObj != null && message.hasOwnProperty("fkRelevanceObj"))
            writer.uint32(/* id 30, wireType 2 =*/242).string(message.fkRelevanceObj);
        if (message.fkGoods != null && message.hasOwnProperty("fkGoods"))
            writer.uint32(/* id 31, wireType 2 =*/250).string(message.fkGoods);
        return writer;
    };

    /**
     * Encodes the specified ConZoneType message, length delimited. Does not implicitly {@link ConZoneType.verify|verify} messages.
     * @function encodeDelimited
     * @memberof ConZoneType
     * @static
     * @param {IConZoneType} message ConZoneType message or plain object to encode
     * @param {$protobuf.Writer} [writer] Writer to encode to
     * @returns {$protobuf.Writer} Writer
     */
    ConZoneType.encodeDelimited = function encodeDelimited(message, writer) {
        return this.encode(message, writer).ldelim();
    };

    /**
     * Decodes a ConZoneType message from the specified reader or buffer.
     * @function decode
     * @memberof ConZoneType
     * @static
     * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
     * @param {number} [length] Message length if known beforehand
     * @returns {ConZoneType} ConZoneType
     * @throws {Error} If the payload is not a reader or valid buffer
     * @throws {$protobuf.util.ProtocolError} If required fields are missing
     */
    ConZoneType.decode = function decode(reader, length) {
        if (!(reader instanceof $Reader))
            reader = $Reader.create(reader);
        var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ConZoneType();
        while (reader.pos < end) {
            var tag = reader.uint32();
            switch (tag >>> 3) {
            case 1:
                message.uuid = reader.string();
                break;
            case 2:
                message.upper = reader.string();
                break;
            case 3:
                message.validFlag = reader.string();
                break;
            case 4:
                message.creator = reader.string();
                break;
            case 5:
                message.createTime = reader.string();
                break;
            case 6:
                message.creatorIp = reader.string();
                break;
            case 7:
                message.lastModifier = reader.string();
                break;
            case 8:
                message.lastModifyTime = reader.string();
                break;
            case 9:
                message.lastModifierIp = reader.string();
                break;
            case 10:
                message.ownerOrganize = reader.string();
                break;
            case 11:
                message.ownerRole = reader.string();
                break;
            case 12:
                message.serNum = reader.string();
                break;
            case 13:
                message.serMemo = reader.string();
                break;
            case 14:
                message.serAudit = reader.string();
                break;
            case 15:
                message.serUsing = reader.string();
                break;
            case 16:
                message.serLabels = reader.string();
                break;
            case 17:
                message.serFileUrl = reader.string();
                break;
            case 18:
                message.serEditorContent = reader.string();
                break;
            case 19:
                message.serInputGroupData = reader.string();
                break;
            case 20:
                message.serName = reader.string();
                break;
            case 21:
                message.serNameEn = reader.string();
                break;
            case 22:
                message.serNameBgImgUrl = reader.string();
                break;
            case 23:
                message.serSortNumber = reader.string();
                break;
            case 24:
                message.fkZoneTemplate = reader.string();
                break;
            case 25:
                message.serBigImgUrl = reader.string();
                break;
            case 26:
                message.fkUpperZone = reader.string();
                break;
            case 27:
                message.enuPosition = reader.string();
                break;
            case 28:
                message.enumAppVersion = reader.string();
                break;
            case 29:
                message.enumRelevanceType = reader.string();
                break;
            case 30:
                message.fkRelevanceObj = reader.string();
                break;
            case 31:
                message.fkGoods = reader.string();
                break;
            default:
                reader.skipType(tag & 7);
                break;
            }
        }
        return message;
    };

    /**
     * Decodes a ConZoneType message from the specified reader or buffer, length delimited.
     * @function decodeDelimited
     * @memberof ConZoneType
     * @static
     * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
     * @returns {ConZoneType} ConZoneType
     * @throws {Error} If the payload is not a reader or valid buffer
     * @throws {$protobuf.util.ProtocolError} If required fields are missing
     */
    ConZoneType.decodeDelimited = function decodeDelimited(reader) {
        if (!(reader instanceof $Reader))
            reader = new $Reader(reader);
        return this.decode(reader, reader.uint32());
    };

    /**
     * Verifies a ConZoneType message.
     * @function verify
     * @memberof ConZoneType
     * @static
     * @param {Object.<string,*>} message Plain object to verify
     * @returns {string|null} `null` if valid, otherwise the reason why it is not
     */
    ConZoneType.verify = function verify(message) {
        if (typeof message !== "object" || message === null)
            return "object expected";
        if (message.uuid != null && message.hasOwnProperty("uuid"))
            if (!$util.isString(message.uuid))
                return "uuid: string expected";
        if (message.upper != null && message.hasOwnProperty("upper"))
            if (!$util.isString(message.upper))
                return "upper: string expected";
        if (message.validFlag != null && message.hasOwnProperty("validFlag"))
            if (!$util.isString(message.validFlag))
                return "validFlag: string expected";
        if (message.creator != null && message.hasOwnProperty("creator"))
            if (!$util.isString(message.creator))
                return "creator: string expected";
        if (message.createTime != null && message.hasOwnProperty("createTime"))
            if (!$util.isString(message.createTime))
                return "createTime: string expected";
        if (message.creatorIp != null && message.hasOwnProperty("creatorIp"))
            if (!$util.isString(message.creatorIp))
                return "creatorIp: string expected";
        if (message.lastModifier != null && message.hasOwnProperty("lastModifier"))
            if (!$util.isString(message.lastModifier))
                return "lastModifier: string expected";
        if (message.lastModifyTime != null && message.hasOwnProperty("lastModifyTime"))
            if (!$util.isString(message.lastModifyTime))
                return "lastModifyTime: string expected";
        if (message.lastModifierIp != null && message.hasOwnProperty("lastModifierIp"))
            if (!$util.isString(message.lastModifierIp))
                return "lastModifierIp: string expected";
        if (message.ownerOrganize != null && message.hasOwnProperty("ownerOrganize"))
            if (!$util.isString(message.ownerOrganize))
                return "ownerOrganize: string expected";
        if (message.ownerRole != null && message.hasOwnProperty("ownerRole"))
            if (!$util.isString(message.ownerRole))
                return "ownerRole: string expected";
        if (message.serNum != null && message.hasOwnProperty("serNum"))
            if (!$util.isString(message.serNum))
                return "serNum: string expected";
        if (message.serMemo != null && message.hasOwnProperty("serMemo"))
            if (!$util.isString(message.serMemo))
                return "serMemo: string expected";
        if (message.serAudit != null && message.hasOwnProperty("serAudit"))
            if (!$util.isString(message.serAudit))
                return "serAudit: string expected";
        if (message.serUsing != null && message.hasOwnProperty("serUsing"))
            if (!$util.isString(message.serUsing))
                return "serUsing: string expected";
        if (message.serLabels != null && message.hasOwnProperty("serLabels"))
            if (!$util.isString(message.serLabels))
                return "serLabels: string expected";
        if (message.serFileUrl != null && message.hasOwnProperty("serFileUrl"))
            if (!$util.isString(message.serFileUrl))
                return "serFileUrl: string expected";
        if (message.serEditorContent != null && message.hasOwnProperty("serEditorContent"))
            if (!$util.isString(message.serEditorContent))
                return "serEditorContent: string expected";
        if (message.serInputGroupData != null && message.hasOwnProperty("serInputGroupData"))
            if (!$util.isString(message.serInputGroupData))
                return "serInputGroupData: string expected";
        if (message.serName != null && message.hasOwnProperty("serName"))
            if (!$util.isString(message.serName))
                return "serName: string expected";
        if (message.serNameEn != null && message.hasOwnProperty("serNameEn"))
            if (!$util.isString(message.serNameEn))
                return "serNameEn: string expected";
        if (message.serNameBgImgUrl != null && message.hasOwnProperty("serNameBgImgUrl"))
            if (!$util.isString(message.serNameBgImgUrl))
                return "serNameBgImgUrl: string expected";
        if (message.serSortNumber != null && message.hasOwnProperty("serSortNumber"))
            if (!$util.isString(message.serSortNumber))
                return "serSortNumber: string expected";
        if (message.fkZoneTemplate != null && message.hasOwnProperty("fkZoneTemplate"))
            if (!$util.isString(message.fkZoneTemplate))
                return "fkZoneTemplate: string expected";
        if (message.serBigImgUrl != null && message.hasOwnProperty("serBigImgUrl"))
            if (!$util.isString(message.serBigImgUrl))
                return "serBigImgUrl: string expected";
        if (message.fkUpperZone != null && message.hasOwnProperty("fkUpperZone"))
            if (!$util.isString(message.fkUpperZone))
                return "fkUpperZone: string expected";
        if (message.enuPosition != null && message.hasOwnProperty("enuPosition"))
            if (!$util.isString(message.enuPosition))
                return "enuPosition: string expected";
        if (message.enumAppVersion != null && message.hasOwnProperty("enumAppVersion"))
            if (!$util.isString(message.enumAppVersion))
                return "enumAppVersion: string expected";
        if (message.enumRelevanceType != null && message.hasOwnProperty("enumRelevanceType"))
            if (!$util.isString(message.enumRelevanceType))
                return "enumRelevanceType: string expected";
        if (message.fkRelevanceObj != null && message.hasOwnProperty("fkRelevanceObj"))
            if (!$util.isString(message.fkRelevanceObj))
                return "fkRelevanceObj: string expected";
        if (message.fkGoods != null && message.hasOwnProperty("fkGoods"))
            if (!$util.isString(message.fkGoods))
                return "fkGoods: string expected";
        return null;
    };

    /**
     * Creates a ConZoneType message from a plain object. Also converts values to their respective internal types.
     * @function fromObject
     * @memberof ConZoneType
     * @static
     * @param {Object.<string,*>} object Plain object
     * @returns {ConZoneType} ConZoneType
     */
    ConZoneType.fromObject = function fromObject(object) {
        if (object instanceof $root.ConZoneType)
            return object;
        var message = new $root.ConZoneType();
        if (object.uuid != null)
            message.uuid = String(object.uuid);
        if (object.upper != null)
            message.upper = String(object.upper);
        if (object.validFlag != null)
            message.validFlag = String(object.validFlag);
        if (object.creator != null)
            message.creator = String(object.creator);
        if (object.createTime != null)
            message.createTime = String(object.createTime);
        if (object.creatorIp != null)
            message.creatorIp = String(object.creatorIp);
        if (object.lastModifier != null)
            message.lastModifier = String(object.lastModifier);
        if (object.lastModifyTime != null)
            message.lastModifyTime = String(object.lastModifyTime);
        if (object.lastModifierIp != null)
            message.lastModifierIp = String(object.lastModifierIp);
        if (object.ownerOrganize != null)
            message.ownerOrganize = String(object.ownerOrganize);
        if (object.ownerRole != null)
            message.ownerRole = String(object.ownerRole);
        if (object.serNum != null)
            message.serNum = String(object.serNum);
        if (object.serMemo != null)
            message.serMemo = String(object.serMemo);
        if (object.serAudit != null)
            message.serAudit = String(object.serAudit);
        if (object.serUsing != null)
            message.serUsing = String(object.serUsing);
        if (object.serLabels != null)
            message.serLabels = String(object.serLabels);
        if (object.serFileUrl != null)
            message.serFileUrl = String(object.serFileUrl);
        if (object.serEditorContent != null)
            message.serEditorContent = String(object.serEditorContent);
        if (object.serInputGroupData != null)
            message.serInputGroupData = String(object.serInputGroupData);
        if (object.serName != null)
            message.serName = String(object.serName);
        if (object.serNameEn != null)
            message.serNameEn = String(object.serNameEn);
        if (object.serNameBgImgUrl != null)
            message.serNameBgImgUrl = String(object.serNameBgImgUrl);
        if (object.serSortNumber != null)
            message.serSortNumber = String(object.serSortNumber);
        if (object.fkZoneTemplate != null)
            message.fkZoneTemplate = String(object.fkZoneTemplate);
        if (object.serBigImgUrl != null)
            message.serBigImgUrl = String(object.serBigImgUrl);
        if (object.fkUpperZone != null)
            message.fkUpperZone = String(object.fkUpperZone);
        if (object.enuPosition != null)
            message.enuPosition = String(object.enuPosition);
        if (object.enumAppVersion != null)
            message.enumAppVersion = String(object.enumAppVersion);
        if (object.enumRelevanceType != null)
            message.enumRelevanceType = String(object.enumRelevanceType);
        if (object.fkRelevanceObj != null)
            message.fkRelevanceObj = String(object.fkRelevanceObj);
        if (object.fkGoods != null)
            message.fkGoods = String(object.fkGoods);
        return message;
    };

    /**
     * Creates a plain object from a ConZoneType message. Also converts values to other types if specified.
     * @function toObject
     * @memberof ConZoneType
     * @static
     * @param {ConZoneType} message ConZoneType
     * @param {$protobuf.IConversionOptions} [options] Conversion options
     * @returns {Object.<string,*>} Plain object
     */
    ConZoneType.toObject = function toObject(message, options) {
        if (!options)
            options = {};
        var object = {};
        if (options.defaults) {
            object.uuid = "";
            object.upper = "";
            object.validFlag = "";
            object.creator = "";
            object.createTime = "";
            object.creatorIp = "";
            object.lastModifier = "";
            object.lastModifyTime = "";
            object.lastModifierIp = "";
            object.ownerOrganize = "";
            object.ownerRole = "";
            object.serNum = "";
            object.serMemo = "";
            object.serAudit = "";
            object.serUsing = "";
            object.serLabels = "";
            object.serFileUrl = "";
            object.serEditorContent = "";
            object.serInputGroupData = "";
            object.serName = "";
            object.serNameEn = "";
            object.serNameBgImgUrl = "";
            object.serSortNumber = "";
            object.fkZoneTemplate = "";
            object.serBigImgUrl = "";
            object.fkUpperZone = "";
            object.enuPosition = "";
            object.enumAppVersion = "";
            object.enumRelevanceType = "";
            object.fkRelevanceObj = "";
            object.fkGoods = "";
        }
        if (message.uuid != null && message.hasOwnProperty("uuid"))
            object.uuid = message.uuid;
        if (message.upper != null && message.hasOwnProperty("upper"))
            object.upper = message.upper;
        if (message.validFlag != null && message.hasOwnProperty("validFlag"))
            object.validFlag = message.validFlag;
        if (message.creator != null && message.hasOwnProperty("creator"))
            object.creator = message.creator;
        if (message.createTime != null && message.hasOwnProperty("createTime"))
            object.createTime = message.createTime;
        if (message.creatorIp != null && message.hasOwnProperty("creatorIp"))
            object.creatorIp = message.creatorIp;
        if (message.lastModifier != null && message.hasOwnProperty("lastModifier"))
            object.lastModifier = message.lastModifier;
        if (message.lastModifyTime != null && message.hasOwnProperty("lastModifyTime"))
            object.lastModifyTime = message.lastModifyTime;
        if (message.lastModifierIp != null && message.hasOwnProperty("lastModifierIp"))
            object.lastModifierIp = message.lastModifierIp;
        if (message.ownerOrganize != null && message.hasOwnProperty("ownerOrganize"))
            object.ownerOrganize = message.ownerOrganize;
        if (message.ownerRole != null && message.hasOwnProperty("ownerRole"))
            object.ownerRole = message.ownerRole;
        if (message.serNum != null && message.hasOwnProperty("serNum"))
            object.serNum = message.serNum;
        if (message.serMemo != null && message.hasOwnProperty("serMemo"))
            object.serMemo = message.serMemo;
        if (message.serAudit != null && message.hasOwnProperty("serAudit"))
            object.serAudit = message.serAudit;
        if (message.serUsing != null && message.hasOwnProperty("serUsing"))
            object.serUsing = message.serUsing;
        if (message.serLabels != null && message.hasOwnProperty("serLabels"))
            object.serLabels = message.serLabels;
        if (message.serFileUrl != null && message.hasOwnProperty("serFileUrl"))
            object.serFileUrl = message.serFileUrl;
        if (message.serEditorContent != null && message.hasOwnProperty("serEditorContent"))
            object.serEditorContent = message.serEditorContent;
        if (message.serInputGroupData != null && message.hasOwnProperty("serInputGroupData"))
            object.serInputGroupData = message.serInputGroupData;
        if (message.serName != null && message.hasOwnProperty("serName"))
            object.serName = message.serName;
        if (message.serNameEn != null && message.hasOwnProperty("serNameEn"))
            object.serNameEn = message.serNameEn;
        if (message.serNameBgImgUrl != null && message.hasOwnProperty("serNameBgImgUrl"))
            object.serNameBgImgUrl = message.serNameBgImgUrl;
        if (message.serSortNumber != null && message.hasOwnProperty("serSortNumber"))
            object.serSortNumber = message.serSortNumber;
        if (message.fkZoneTemplate != null && message.hasOwnProperty("fkZoneTemplate"))
            object.fkZoneTemplate = message.fkZoneTemplate;
        if (message.serBigImgUrl != null && message.hasOwnProperty("serBigImgUrl"))
            object.serBigImgUrl = message.serBigImgUrl;
        if (message.fkUpperZone != null && message.hasOwnProperty("fkUpperZone"))
            object.fkUpperZone = message.fkUpperZone;
        if (message.enuPosition != null && message.hasOwnProperty("enuPosition"))
            object.enuPosition = message.enuPosition;
        if (message.enumAppVersion != null && message.hasOwnProperty("enumAppVersion"))
            object.enumAppVersion = message.enumAppVersion;
        if (message.enumRelevanceType != null && message.hasOwnProperty("enumRelevanceType"))
            object.enumRelevanceType = message.enumRelevanceType;
        if (message.fkRelevanceObj != null && message.hasOwnProperty("fkRelevanceObj"))
            object.fkRelevanceObj = message.fkRelevanceObj;
        if (message.fkGoods != null && message.hasOwnProperty("fkGoods"))
            object.fkGoods = message.fkGoods;
        return object;
    };

    /**
     * Converts this ConZoneType to JSON.
     * @function toJSON
     * @memberof ConZoneType
     * @instance
     * @returns {Object.<string,*>} JSON object
     */
    ConZoneType.prototype.toJSON = function toJSON() {
        return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
    };

    return ConZoneType;
})();

$root.ConZoneTypeCondition = (function() {

    /**
     * Properties of a ConZoneTypeCondition.
     * @exports IConZoneTypeCondition
     * @interface IConZoneTypeCondition
     * @property {string|null} [uuid] ConZoneTypeCondition uuid
     * @property {string|null} [upper] ConZoneTypeCondition upper
     * @property {string|null} [validFlag] ConZoneTypeCondition validFlag
     * @property {string|null} [creator] ConZoneTypeCondition creator
     * @property {string|null} [createTime] ConZoneTypeCondition createTime
     * @property {string|null} [creatorIp] ConZoneTypeCondition creatorIp
     * @property {string|null} [lastModifier] ConZoneTypeCondition lastModifier
     * @property {string|null} [lastModifyTime] ConZoneTypeCondition lastModifyTime
     * @property {string|null} [lastModifierIp] ConZoneTypeCondition lastModifierIp
     * @property {string|null} [ownerOrganize] ConZoneTypeCondition ownerOrganize
     * @property {string|null} [ownerRole] ConZoneTypeCondition ownerRole
     * @property {string|null} [serNum] ConZoneTypeCondition serNum
     * @property {string|null} [serMemo] ConZoneTypeCondition serMemo
     * @property {string|null} [serAudit] ConZoneTypeCondition serAudit
     * @property {string|null} [serUsing] ConZoneTypeCondition serUsing
     * @property {string|null} [serLabels] ConZoneTypeCondition serLabels
     * @property {Array.<string>|null} [uuidList] ConZoneTypeCondition uuidList
     * @property {string|null} [createTimeOUTSET] ConZoneTypeCondition createTimeOUTSET
     * @property {string|null} [createTimeFINISH] ConZoneTypeCondition createTimeFINISH
     * @property {string|null} [lastModifyTimeOUTSET] ConZoneTypeCondition lastModifyTimeOUTSET
     * @property {string|null} [lastModifyTimeFINISH] ConZoneTypeCondition lastModifyTimeFINISH
     * @property {Array.<string>|null} [serAuditList] ConZoneTypeCondition serAuditList
     * @property {string|null} [serFileUrl] ConZoneTypeCondition serFileUrl
     * @property {string|null} [serEditorContent] ConZoneTypeCondition serEditorContent
     * @property {string|null} [serName] ConZoneTypeCondition serName
     * @property {string|null} [serNameEn] ConZoneTypeCondition serNameEn
     * @property {string|null} [serNameBgImgUrl] ConZoneTypeCondition serNameBgImgUrl
     * @property {string|null} [serSortNumber] ConZoneTypeCondition serSortNumber
     * @property {string|null} [fkZoneTemplate] ConZoneTypeCondition fkZoneTemplate
     * @property {string|null} [serBigImgUrl] ConZoneTypeCondition serBigImgUrl
     * @property {string|null} [fkUpperZoneIsNull] ConZoneTypeCondition fkUpperZoneIsNull
     * @property {Array.<string>|null} [fkUpperZoneList] ConZoneTypeCondition fkUpperZoneList
     * @property {Array.<string>|null} [fkZoneTemplateList] ConZoneTypeCondition fkZoneTemplateList
     * @property {Array.<string>|null} [enuPositionList] ConZoneTypeCondition enuPositionList
     */

    /**
     * Constructs a new ConZoneTypeCondition.
     * @exports ConZoneTypeCondition
     * @classdesc Represents a ConZoneTypeCondition.
     * @implements IConZoneTypeCondition
     * @constructor
     * @param {IConZoneTypeCondition=} [properties] Properties to set
     */
    function ConZoneTypeCondition(properties) {
        this.uuidList = [];
        this.serAuditList = [];
        this.fkUpperZoneList = [];
        this.fkZoneTemplateList = [];
        this.enuPositionList = [];
        if (properties)
            for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
                if (properties[keys[i]] != null)
                    this[keys[i]] = properties[keys[i]];
    }

    /**
     * ConZoneTypeCondition uuid.
     * @member {string} uuid
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.uuid = "";

    /**
     * ConZoneTypeCondition upper.
     * @member {string} upper
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.upper = "";

    /**
     * ConZoneTypeCondition validFlag.
     * @member {string} validFlag
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.validFlag = "";

    /**
     * ConZoneTypeCondition creator.
     * @member {string} creator
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.creator = "";

    /**
     * ConZoneTypeCondition createTime.
     * @member {string} createTime
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.createTime = "";

    /**
     * ConZoneTypeCondition creatorIp.
     * @member {string} creatorIp
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.creatorIp = "";

    /**
     * ConZoneTypeCondition lastModifier.
     * @member {string} lastModifier
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.lastModifier = "";

    /**
     * ConZoneTypeCondition lastModifyTime.
     * @member {string} lastModifyTime
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.lastModifyTime = "";

    /**
     * ConZoneTypeCondition lastModifierIp.
     * @member {string} lastModifierIp
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.lastModifierIp = "";

    /**
     * ConZoneTypeCondition ownerOrganize.
     * @member {string} ownerOrganize
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.ownerOrganize = "";

    /**
     * ConZoneTypeCondition ownerRole.
     * @member {string} ownerRole
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.ownerRole = "";

    /**
     * ConZoneTypeCondition serNum.
     * @member {string} serNum
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.serNum = "";

    /**
     * ConZoneTypeCondition serMemo.
     * @member {string} serMemo
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.serMemo = "";

    /**
     * ConZoneTypeCondition serAudit.
     * @member {string} serAudit
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.serAudit = "";

    /**
     * ConZoneTypeCondition serUsing.
     * @member {string} serUsing
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.serUsing = "";

    /**
     * ConZoneTypeCondition serLabels.
     * @member {string} serLabels
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.serLabels = "";

    /**
     * ConZoneTypeCondition uuidList.
     * @member {Array.<string>} uuidList
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.uuidList = $util.emptyArray;

    /**
     * ConZoneTypeCondition createTimeOUTSET.
     * @member {string} createTimeOUTSET
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.createTimeOUTSET = "";

    /**
     * ConZoneTypeCondition createTimeFINISH.
     * @member {string} createTimeFINISH
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.createTimeFINISH = "";

    /**
     * ConZoneTypeCondition lastModifyTimeOUTSET.
     * @member {string} lastModifyTimeOUTSET
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.lastModifyTimeOUTSET = "";

    /**
     * ConZoneTypeCondition lastModifyTimeFINISH.
     * @member {string} lastModifyTimeFINISH
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.lastModifyTimeFINISH = "";

    /**
     * ConZoneTypeCondition serAuditList.
     * @member {Array.<string>} serAuditList
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.serAuditList = $util.emptyArray;

    /**
     * ConZoneTypeCondition serFileUrl.
     * @member {string} serFileUrl
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.serFileUrl = "";

    /**
     * ConZoneTypeCondition serEditorContent.
     * @member {string} serEditorContent
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.serEditorContent = "";

    /**
     * ConZoneTypeCondition serName.
     * @member {string} serName
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.serName = "";

    /**
     * ConZoneTypeCondition serNameEn.
     * @member {string} serNameEn
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.serNameEn = "";

    /**
     * ConZoneTypeCondition serNameBgImgUrl.
     * @member {string} serNameBgImgUrl
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.serNameBgImgUrl = "";

    /**
     * ConZoneTypeCondition serSortNumber.
     * @member {string} serSortNumber
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.serSortNumber = "";

    /**
     * ConZoneTypeCondition fkZoneTemplate.
     * @member {string} fkZoneTemplate
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.fkZoneTemplate = "";

    /**
     * ConZoneTypeCondition serBigImgUrl.
     * @member {string} serBigImgUrl
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.serBigImgUrl = "";

    /**
     * ConZoneTypeCondition fkUpperZoneIsNull.
     * @member {string} fkUpperZoneIsNull
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.fkUpperZoneIsNull = "";

    /**
     * ConZoneTypeCondition fkUpperZoneList.
     * @member {Array.<string>} fkUpperZoneList
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.fkUpperZoneList = $util.emptyArray;

    /**
     * ConZoneTypeCondition fkZoneTemplateList.
     * @member {Array.<string>} fkZoneTemplateList
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.fkZoneTemplateList = $util.emptyArray;

    /**
     * ConZoneTypeCondition enuPositionList.
     * @member {Array.<string>} enuPositionList
     * @memberof ConZoneTypeCondition
     * @instance
     */
    ConZoneTypeCondition.prototype.enuPositionList = $util.emptyArray;

    /**
     * Creates a new ConZoneTypeCondition instance using the specified properties.
     * @function create
     * @memberof ConZoneTypeCondition
     * @static
     * @param {IConZoneTypeCondition=} [properties] Properties to set
     * @returns {ConZoneTypeCondition} ConZoneTypeCondition instance
     */
    ConZoneTypeCondition.create = function create(properties) {
        return new ConZoneTypeCondition(properties);
    };

    /**
     * Encodes the specified ConZoneTypeCondition message. Does not implicitly {@link ConZoneTypeCondition.verify|verify} messages.
     * @function encode
     * @memberof ConZoneTypeCondition
     * @static
     * @param {IConZoneTypeCondition} message ConZoneTypeCondition message or plain object to encode
     * @param {$protobuf.Writer} [writer] Writer to encode to
     * @returns {$protobuf.Writer} Writer
     */
    ConZoneTypeCondition.encode = function encode(message, writer) {
        if (!writer)
            writer = $Writer.create();
        if (message.uuid != null && message.hasOwnProperty("uuid"))
            writer.uint32(/* id 1, wireType 2 =*/10).string(message.uuid);
        if (message.upper != null && message.hasOwnProperty("upper"))
            writer.uint32(/* id 2, wireType 2 =*/18).string(message.upper);
        if (message.validFlag != null && message.hasOwnProperty("validFlag"))
            writer.uint32(/* id 3, wireType 2 =*/26).string(message.validFlag);
        if (message.creator != null && message.hasOwnProperty("creator"))
            writer.uint32(/* id 4, wireType 2 =*/34).string(message.creator);
        if (message.createTime != null && message.hasOwnProperty("createTime"))
            writer.uint32(/* id 5, wireType 2 =*/42).string(message.createTime);
        if (message.creatorIp != null && message.hasOwnProperty("creatorIp"))
            writer.uint32(/* id 6, wireType 2 =*/50).string(message.creatorIp);
        if (message.lastModifier != null && message.hasOwnProperty("lastModifier"))
            writer.uint32(/* id 7, wireType 2 =*/58).string(message.lastModifier);
        if (message.lastModifyTime != null && message.hasOwnProperty("lastModifyTime"))
            writer.uint32(/* id 8, wireType 2 =*/66).string(message.lastModifyTime);
        if (message.lastModifierIp != null && message.hasOwnProperty("lastModifierIp"))
            writer.uint32(/* id 9, wireType 2 =*/74).string(message.lastModifierIp);
        if (message.ownerOrganize != null && message.hasOwnProperty("ownerOrganize"))
            writer.uint32(/* id 10, wireType 2 =*/82).string(message.ownerOrganize);
        if (message.ownerRole != null && message.hasOwnProperty("ownerRole"))
            writer.uint32(/* id 11, wireType 2 =*/90).string(message.ownerRole);
        if (message.serNum != null && message.hasOwnProperty("serNum"))
            writer.uint32(/* id 12, wireType 2 =*/98).string(message.serNum);
        if (message.serMemo != null && message.hasOwnProperty("serMemo"))
            writer.uint32(/* id 13, wireType 2 =*/106).string(message.serMemo);
        if (message.serAudit != null && message.hasOwnProperty("serAudit"))
            writer.uint32(/* id 14, wireType 2 =*/114).string(message.serAudit);
        if (message.serUsing != null && message.hasOwnProperty("serUsing"))
            writer.uint32(/* id 15, wireType 2 =*/122).string(message.serUsing);
        if (message.serLabels != null && message.hasOwnProperty("serLabels"))
            writer.uint32(/* id 16, wireType 2 =*/130).string(message.serLabels);
        if (message.uuidList != null && message.uuidList.length)
            for (var i = 0; i < message.uuidList.length; ++i)
                writer.uint32(/* id 17, wireType 2 =*/138).string(message.uuidList[i]);
        if (message.createTimeOUTSET != null && message.hasOwnProperty("createTimeOUTSET"))
            writer.uint32(/* id 18, wireType 2 =*/146).string(message.createTimeOUTSET);
        if (message.createTimeFINISH != null && message.hasOwnProperty("createTimeFINISH"))
            writer.uint32(/* id 19, wireType 2 =*/154).string(message.createTimeFINISH);
        if (message.lastModifyTimeOUTSET != null && message.hasOwnProperty("lastModifyTimeOUTSET"))
            writer.uint32(/* id 20, wireType 2 =*/162).string(message.lastModifyTimeOUTSET);
        if (message.lastModifyTimeFINISH != null && message.hasOwnProperty("lastModifyTimeFINISH"))
            writer.uint32(/* id 21, wireType 2 =*/170).string(message.lastModifyTimeFINISH);
        if (message.serAuditList != null && message.serAuditList.length)
            for (var i = 0; i < message.serAuditList.length; ++i)
                writer.uint32(/* id 22, wireType 2 =*/178).string(message.serAuditList[i]);
        if (message.serFileUrl != null && message.hasOwnProperty("serFileUrl"))
            writer.uint32(/* id 23, wireType 2 =*/186).string(message.serFileUrl);
        if (message.serEditorContent != null && message.hasOwnProperty("serEditorContent"))
            writer.uint32(/* id 24, wireType 2 =*/194).string(message.serEditorContent);
        if (message.serName != null && message.hasOwnProperty("serName"))
            writer.uint32(/* id 25, wireType 2 =*/202).string(message.serName);
        if (message.serNameEn != null && message.hasOwnProperty("serNameEn"))
            writer.uint32(/* id 26, wireType 2 =*/210).string(message.serNameEn);
        if (message.serNameBgImgUrl != null && message.hasOwnProperty("serNameBgImgUrl"))
            writer.uint32(/* id 27, wireType 2 =*/218).string(message.serNameBgImgUrl);
        if (message.serSortNumber != null && message.hasOwnProperty("serSortNumber"))
            writer.uint32(/* id 28, wireType 2 =*/226).string(message.serSortNumber);
        if (message.fkZoneTemplate != null && message.hasOwnProperty("fkZoneTemplate"))
            writer.uint32(/* id 29, wireType 2 =*/234).string(message.fkZoneTemplate);
        if (message.serBigImgUrl != null && message.hasOwnProperty("serBigImgUrl"))
            writer.uint32(/* id 30, wireType 2 =*/242).string(message.serBigImgUrl);
        if (message.fkUpperZoneIsNull != null && message.hasOwnProperty("fkUpperZoneIsNull"))
            writer.uint32(/* id 31, wireType 2 =*/250).string(message.fkUpperZoneIsNull);
        if (message.fkUpperZoneList != null && message.fkUpperZoneList.length)
            for (var i = 0; i < message.fkUpperZoneList.length; ++i)
                writer.uint32(/* id 32, wireType 2 =*/258).string(message.fkUpperZoneList[i]);
        if (message.fkZoneTemplateList != null && message.fkZoneTemplateList.length)
            for (var i = 0; i < message.fkZoneTemplateList.length; ++i)
                writer.uint32(/* id 33, wireType 2 =*/266).string(message.fkZoneTemplateList[i]);
        if (message.enuPositionList != null && message.enuPositionList.length)
            for (var i = 0; i < message.enuPositionList.length; ++i)
                writer.uint32(/* id 34, wireType 2 =*/274).string(message.enuPositionList[i]);
        return writer;
    };

    /**
     * Encodes the specified ConZoneTypeCondition message, length delimited. Does not implicitly {@link ConZoneTypeCondition.verify|verify} messages.
     * @function encodeDelimited
     * @memberof ConZoneTypeCondition
     * @static
     * @param {IConZoneTypeCondition} message ConZoneTypeCondition message or plain object to encode
     * @param {$protobuf.Writer} [writer] Writer to encode to
     * @returns {$protobuf.Writer} Writer
     */
    ConZoneTypeCondition.encodeDelimited = function encodeDelimited(message, writer) {
        return this.encode(message, writer).ldelim();
    };

    /**
     * Decodes a ConZoneTypeCondition message from the specified reader or buffer.
     * @function decode
     * @memberof ConZoneTypeCondition
     * @static
     * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
     * @param {number} [length] Message length if known beforehand
     * @returns {ConZoneTypeCondition} ConZoneTypeCondition
     * @throws {Error} If the payload is not a reader or valid buffer
     * @throws {$protobuf.util.ProtocolError} If required fields are missing
     */
    ConZoneTypeCondition.decode = function decode(reader, length) {
        if (!(reader instanceof $Reader))
            reader = $Reader.create(reader);
        var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ConZoneTypeCondition();
        while (reader.pos < end) {
            var tag = reader.uint32();
            switch (tag >>> 3) {
            case 1:
                message.uuid = reader.string();
                break;
            case 2:
                message.upper = reader.string();
                break;
            case 3:
                message.validFlag = reader.string();
                break;
            case 4:
                message.creator = reader.string();
                break;
            case 5:
                message.createTime = reader.string();
                break;
            case 6:
                message.creatorIp = reader.string();
                break;
            case 7:
                message.lastModifier = reader.string();
                break;
            case 8:
                message.lastModifyTime = reader.string();
                break;
            case 9:
                message.lastModifierIp = reader.string();
                break;
            case 10:
                message.ownerOrganize = reader.string();
                break;
            case 11:
                message.ownerRole = reader.string();
                break;
            case 12:
                message.serNum = reader.string();
                break;
            case 13:
                message.serMemo = reader.string();
                break;
            case 14:
                message.serAudit = reader.string();
                break;
            case 15:
                message.serUsing = reader.string();
                break;
            case 16:
                message.serLabels = reader.string();
                break;
            case 17:
                if (!(message.uuidList && message.uuidList.length))
                    message.uuidList = [];
                message.uuidList.push(reader.string());
                break;
            case 18:
                message.createTimeOUTSET = reader.string();
                break;
            case 19:
                message.createTimeFINISH = reader.string();
                break;
            case 20:
                message.lastModifyTimeOUTSET = reader.string();
                break;
            case 21:
                message.lastModifyTimeFINISH = reader.string();
                break;
            case 22:
                if (!(message.serAuditList && message.serAuditList.length))
                    message.serAuditList = [];
                message.serAuditList.push(reader.string());
                break;
            case 23:
                message.serFileUrl = reader.string();
                break;
            case 24:
                message.serEditorContent = reader.string();
                break;
            case 25:
                message.serName = reader.string();
                break;
            case 26:
                message.serNameEn = reader.string();
                break;
            case 27:
                message.serNameBgImgUrl = reader.string();
                break;
            case 28:
                message.serSortNumber = reader.string();
                break;
            case 29:
                message.fkZoneTemplate = reader.string();
                break;
            case 30:
                message.serBigImgUrl = reader.string();
                break;
            case 31:
                message.fkUpperZoneIsNull = reader.string();
                break;
            case 32:
                if (!(message.fkUpperZoneList && message.fkUpperZoneList.length))
                    message.fkUpperZoneList = [];
                message.fkUpperZoneList.push(reader.string());
                break;
            case 33:
                if (!(message.fkZoneTemplateList && message.fkZoneTemplateList.length))
                    message.fkZoneTemplateList = [];
                message.fkZoneTemplateList.push(reader.string());
                break;
            case 34:
                if (!(message.enuPositionList && message.enuPositionList.length))
                    message.enuPositionList = [];
                message.enuPositionList.push(reader.string());
                break;
            default:
                reader.skipType(tag & 7);
                break;
            }
        }
        return message;
    };

    /**
     * Decodes a ConZoneTypeCondition message from the specified reader or buffer, length delimited.
     * @function decodeDelimited
     * @memberof ConZoneTypeCondition
     * @static
     * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
     * @returns {ConZoneTypeCondition} ConZoneTypeCondition
     * @throws {Error} If the payload is not a reader or valid buffer
     * @throws {$protobuf.util.ProtocolError} If required fields are missing
     */
    ConZoneTypeCondition.decodeDelimited = function decodeDelimited(reader) {
        if (!(reader instanceof $Reader))
            reader = new $Reader(reader);
        return this.decode(reader, reader.uint32());
    };

    /**
     * Verifies a ConZoneTypeCondition message.
     * @function verify
     * @memberof ConZoneTypeCondition
     * @static
     * @param {Object.<string,*>} message Plain object to verify
     * @returns {string|null} `null` if valid, otherwise the reason why it is not
     */
    ConZoneTypeCondition.verify = function verify(message) {
        if (typeof message !== "object" || message === null)
            return "object expected";
        if (message.uuid != null && message.hasOwnProperty("uuid"))
            if (!$util.isString(message.uuid))
                return "uuid: string expected";
        if (message.upper != null && message.hasOwnProperty("upper"))
            if (!$util.isString(message.upper))
                return "upper: string expected";
        if (message.validFlag != null && message.hasOwnProperty("validFlag"))
            if (!$util.isString(message.validFlag))
                return "validFlag: string expected";
        if (message.creator != null && message.hasOwnProperty("creator"))
            if (!$util.isString(message.creator))
                return "creator: string expected";
        if (message.createTime != null && message.hasOwnProperty("createTime"))
            if (!$util.isString(message.createTime))
                return "createTime: string expected";
        if (message.creatorIp != null && message.hasOwnProperty("creatorIp"))
            if (!$util.isString(message.creatorIp))
                return "creatorIp: string expected";
        if (message.lastModifier != null && message.hasOwnProperty("lastModifier"))
            if (!$util.isString(message.lastModifier))
                return "lastModifier: string expected";
        if (message.lastModifyTime != null && message.hasOwnProperty("lastModifyTime"))
            if (!$util.isString(message.lastModifyTime))
                return "lastModifyTime: string expected";
        if (message.lastModifierIp != null && message.hasOwnProperty("lastModifierIp"))
            if (!$util.isString(message.lastModifierIp))
                return "lastModifierIp: string expected";
        if (message.ownerOrganize != null && message.hasOwnProperty("ownerOrganize"))
            if (!$util.isString(message.ownerOrganize))
                return "ownerOrganize: string expected";
        if (message.ownerRole != null && message.hasOwnProperty("ownerRole"))
            if (!$util.isString(message.ownerRole))
                return "ownerRole: string expected";
        if (message.serNum != null && message.hasOwnProperty("serNum"))
            if (!$util.isString(message.serNum))
                return "serNum: string expected";
        if (message.serMemo != null && message.hasOwnProperty("serMemo"))
            if (!$util.isString(message.serMemo))
                return "serMemo: string expected";
        if (message.serAudit != null && message.hasOwnProperty("serAudit"))
            if (!$util.isString(message.serAudit))
                return "serAudit: string expected";
        if (message.serUsing != null && message.hasOwnProperty("serUsing"))
            if (!$util.isString(message.serUsing))
                return "serUsing: string expected";
        if (message.serLabels != null && message.hasOwnProperty("serLabels"))
            if (!$util.isString(message.serLabels))
                return "serLabels: string expected";
        if (message.uuidList != null && message.hasOwnProperty("uuidList")) {
            if (!Array.isArray(message.uuidList))
                return "uuidList: array expected";
            for (var i = 0; i < message.uuidList.length; ++i)
                if (!$util.isString(message.uuidList[i]))
                    return "uuidList: string[] expected";
        }
        if (message.createTimeOUTSET != null && message.hasOwnProperty("createTimeOUTSET"))
            if (!$util.isString(message.createTimeOUTSET))
                return "createTimeOUTSET: string expected";
        if (message.createTimeFINISH != null && message.hasOwnProperty("createTimeFINISH"))
            if (!$util.isString(message.createTimeFINISH))
                return "createTimeFINISH: string expected";
        if (message.lastModifyTimeOUTSET != null && message.hasOwnProperty("lastModifyTimeOUTSET"))
            if (!$util.isString(message.lastModifyTimeOUTSET))
                return "lastModifyTimeOUTSET: string expected";
        if (message.lastModifyTimeFINISH != null && message.hasOwnProperty("lastModifyTimeFINISH"))
            if (!$util.isString(message.lastModifyTimeFINISH))
                return "lastModifyTimeFINISH: string expected";
        if (message.serAuditList != null && message.hasOwnProperty("serAuditList")) {
            if (!Array.isArray(message.serAuditList))
                return "serAuditList: array expected";
            for (var i = 0; i < message.serAuditList.length; ++i)
                if (!$util.isString(message.serAuditList[i]))
                    return "serAuditList: string[] expected";
        }
        if (message.serFileUrl != null && message.hasOwnProperty("serFileUrl"))
            if (!$util.isString(message.serFileUrl))
                return "serFileUrl: string expected";
        if (message.serEditorContent != null && message.hasOwnProperty("serEditorContent"))
            if (!$util.isString(message.serEditorContent))
                return "serEditorContent: string expected";
        if (message.serName != null && message.hasOwnProperty("serName"))
            if (!$util.isString(message.serName))
                return "serName: string expected";
        if (message.serNameEn != null && message.hasOwnProperty("serNameEn"))
            if (!$util.isString(message.serNameEn))
                return "serNameEn: string expected";
        if (message.serNameBgImgUrl != null && message.hasOwnProperty("serNameBgImgUrl"))
            if (!$util.isString(message.serNameBgImgUrl))
                return "serNameBgImgUrl: string expected";
        if (message.serSortNumber != null && message.hasOwnProperty("serSortNumber"))
            if (!$util.isString(message.serSortNumber))
                return "serSortNumber: string expected";
        if (message.fkZoneTemplate != null && message.hasOwnProperty("fkZoneTemplate"))
            if (!$util.isString(message.fkZoneTemplate))
                return "fkZoneTemplate: string expected";
        if (message.serBigImgUrl != null && message.hasOwnProperty("serBigImgUrl"))
            if (!$util.isString(message.serBigImgUrl))
                return "serBigImgUrl: string expected";
        if (message.fkUpperZoneIsNull != null && message.hasOwnProperty("fkUpperZoneIsNull"))
            if (!$util.isString(message.fkUpperZoneIsNull))
                return "fkUpperZoneIsNull: string expected";
        if (message.fkUpperZoneList != null && message.hasOwnProperty("fkUpperZoneList")) {
            if (!Array.isArray(message.fkUpperZoneList))
                return "fkUpperZoneList: array expected";
            for (var i = 0; i < message.fkUpperZoneList.length; ++i)
                if (!$util.isString(message.fkUpperZoneList[i]))
                    return "fkUpperZoneList: string[] expected";
        }
        if (message.fkZoneTemplateList != null && message.hasOwnProperty("fkZoneTemplateList")) {
            if (!Array.isArray(message.fkZoneTemplateList))
                return "fkZoneTemplateList: array expected";
            for (var i = 0; i < message.fkZoneTemplateList.length; ++i)
                if (!$util.isString(message.fkZoneTemplateList[i]))
                    return "fkZoneTemplateList: string[] expected";
        }
        if (message.enuPositionList != null && message.hasOwnProperty("enuPositionList")) {
            if (!Array.isArray(message.enuPositionList))
                return "enuPositionList: array expected";
            for (var i = 0; i < message.enuPositionList.length; ++i)
                if (!$util.isString(message.enuPositionList[i]))
                    return "enuPositionList: string[] expected";
        }
        return null;
    };

    /**
     * Creates a ConZoneTypeCondition message from a plain object. Also converts values to their respective internal types.
     * @function fromObject
     * @memberof ConZoneTypeCondition
     * @static
     * @param {Object.<string,*>} object Plain object
     * @returns {ConZoneTypeCondition} ConZoneTypeCondition
     */
    ConZoneTypeCondition.fromObject = function fromObject(object) {
        if (object instanceof $root.ConZoneTypeCondition)
            return object;
        var message = new $root.ConZoneTypeCondition();
        if (object.uuid != null)
            message.uuid = String(object.uuid);
        if (object.upper != null)
            message.upper = String(object.upper);
        if (object.validFlag != null)
            message.validFlag = String(object.validFlag);
        if (object.creator != null)
            message.creator = String(object.creator);
        if (object.createTime != null)
            message.createTime = String(object.createTime);
        if (object.creatorIp != null)
            message.creatorIp = String(object.creatorIp);
        if (object.lastModifier != null)
            message.lastModifier = String(object.lastModifier);
        if (object.lastModifyTime != null)
            message.lastModifyTime = String(object.lastModifyTime);
        if (object.lastModifierIp != null)
            message.lastModifierIp = String(object.lastModifierIp);
        if (object.ownerOrganize != null)
            message.ownerOrganize = String(object.ownerOrganize);
        if (object.ownerRole != null)
            message.ownerRole = String(object.ownerRole);
        if (object.serNum != null)
            message.serNum = String(object.serNum);
        if (object.serMemo != null)
            message.serMemo = String(object.serMemo);
        if (object.serAudit != null)
            message.serAudit = String(object.serAudit);
        if (object.serUsing != null)
            message.serUsing = String(object.serUsing);
        if (object.serLabels != null)
            message.serLabels = String(object.serLabels);
        if (object.uuidList) {
            if (!Array.isArray(object.uuidList))
                throw TypeError(".ConZoneTypeCondition.uuidList: array expected");
            message.uuidList = [];
            for (var i = 0; i < object.uuidList.length; ++i)
                message.uuidList[i] = String(object.uuidList[i]);
        }
        if (object.createTimeOUTSET != null)
            message.createTimeOUTSET = String(object.createTimeOUTSET);
        if (object.createTimeFINISH != null)
            message.createTimeFINISH = String(object.createTimeFINISH);
        if (object.lastModifyTimeOUTSET != null)
            message.lastModifyTimeOUTSET = String(object.lastModifyTimeOUTSET);
        if (object.lastModifyTimeFINISH != null)
            message.lastModifyTimeFINISH = String(object.lastModifyTimeFINISH);
        if (object.serAuditList) {
            if (!Array.isArray(object.serAuditList))
                throw TypeError(".ConZoneTypeCondition.serAuditList: array expected");
            message.serAuditList = [];
            for (var i = 0; i < object.serAuditList.length; ++i)
                message.serAuditList[i] = String(object.serAuditList[i]);
        }
        if (object.serFileUrl != null)
            message.serFileUrl = String(object.serFileUrl);
        if (object.serEditorContent != null)
            message.serEditorContent = String(object.serEditorContent);
        if (object.serName != null)
            message.serName = String(object.serName);
        if (object.serNameEn != null)
            message.serNameEn = String(object.serNameEn);
        if (object.serNameBgImgUrl != null)
            message.serNameBgImgUrl = String(object.serNameBgImgUrl);
        if (object.serSortNumber != null)
            message.serSortNumber = String(object.serSortNumber);
        if (object.fkZoneTemplate != null)
            message.fkZoneTemplate = String(object.fkZoneTemplate);
        if (object.serBigImgUrl != null)
            message.serBigImgUrl = String(object.serBigImgUrl);
        if (object.fkUpperZoneIsNull != null)
            message.fkUpperZoneIsNull = String(object.fkUpperZoneIsNull);
        if (object.fkUpperZoneList) {
            if (!Array.isArray(object.fkUpperZoneList))
                throw TypeError(".ConZoneTypeCondition.fkUpperZoneList: array expected");
            message.fkUpperZoneList = [];
            for (var i = 0; i < object.fkUpperZoneList.length; ++i)
                message.fkUpperZoneList[i] = String(object.fkUpperZoneList[i]);
        }
        if (object.fkZoneTemplateList) {
            if (!Array.isArray(object.fkZoneTemplateList))
                throw TypeError(".ConZoneTypeCondition.fkZoneTemplateList: array expected");
            message.fkZoneTemplateList = [];
            for (var i = 0; i < object.fkZoneTemplateList.length; ++i)
                message.fkZoneTemplateList[i] = String(object.fkZoneTemplateList[i]);
        }
        if (object.enuPositionList) {
            if (!Array.isArray(object.enuPositionList))
                throw TypeError(".ConZoneTypeCondition.enuPositionList: array expected");
            message.enuPositionList = [];
            for (var i = 0; i < object.enuPositionList.length; ++i)
                message.enuPositionList[i] = String(object.enuPositionList[i]);
        }
        return message;
    };

    /**
     * Creates a plain object from a ConZoneTypeCondition message. Also converts values to other types if specified.
     * @function toObject
     * @memberof ConZoneTypeCondition
     * @static
     * @param {ConZoneTypeCondition} message ConZoneTypeCondition
     * @param {$protobuf.IConversionOptions} [options] Conversion options
     * @returns {Object.<string,*>} Plain object
     */
    ConZoneTypeCondition.toObject = function toObject(message, options) {
        if (!options)
            options = {};
        var object = {};
        if (options.arrays || options.defaults) {
            object.uuidList = [];
            object.serAuditList = [];
            object.fkUpperZoneList = [];
            object.fkZoneTemplateList = [];
            object.enuPositionList = [];
        }
        if (options.defaults) {
            object.uuid = "";
            object.upper = "";
            object.validFlag = "";
            object.creator = "";
            object.createTime = "";
            object.creatorIp = "";
            object.lastModifier = "";
            object.lastModifyTime = "";
            object.lastModifierIp = "";
            object.ownerOrganize = "";
            object.ownerRole = "";
            object.serNum = "";
            object.serMemo = "";
            object.serAudit = "";
            object.serUsing = "";
            object.serLabels = "";
            object.createTimeOUTSET = "";
            object.createTimeFINISH = "";
            object.lastModifyTimeOUTSET = "";
            object.lastModifyTimeFINISH = "";
            object.serFileUrl = "";
            object.serEditorContent = "";
            object.serName = "";
            object.serNameEn = "";
            object.serNameBgImgUrl = "";
            object.serSortNumber = "";
            object.fkZoneTemplate = "";
            object.serBigImgUrl = "";
            object.fkUpperZoneIsNull = "";
        }
        if (message.uuid != null && message.hasOwnProperty("uuid"))
            object.uuid = message.uuid;
        if (message.upper != null && message.hasOwnProperty("upper"))
            object.upper = message.upper;
        if (message.validFlag != null && message.hasOwnProperty("validFlag"))
            object.validFlag = message.validFlag;
        if (message.creator != null && message.hasOwnProperty("creator"))
            object.creator = message.creator;
        if (message.createTime != null && message.hasOwnProperty("createTime"))
            object.createTime = message.createTime;
        if (message.creatorIp != null && message.hasOwnProperty("creatorIp"))
            object.creatorIp = message.creatorIp;
        if (message.lastModifier != null && message.hasOwnProperty("lastModifier"))
            object.lastModifier = message.lastModifier;
        if (message.lastModifyTime != null && message.hasOwnProperty("lastModifyTime"))
            object.lastModifyTime = message.lastModifyTime;
        if (message.lastModifierIp != null && message.hasOwnProperty("lastModifierIp"))
            object.lastModifierIp = message.lastModifierIp;
        if (message.ownerOrganize != null && message.hasOwnProperty("ownerOrganize"))
            object.ownerOrganize = message.ownerOrganize;
        if (message.ownerRole != null && message.hasOwnProperty("ownerRole"))
            object.ownerRole = message.ownerRole;
        if (message.serNum != null && message.hasOwnProperty("serNum"))
            object.serNum = message.serNum;
        if (message.serMemo != null && message.hasOwnProperty("serMemo"))
            object.serMemo = message.serMemo;
        if (message.serAudit != null && message.hasOwnProperty("serAudit"))
            object.serAudit = message.serAudit;
        if (message.serUsing != null && message.hasOwnProperty("serUsing"))
            object.serUsing = message.serUsing;
        if (message.serLabels != null && message.hasOwnProperty("serLabels"))
            object.serLabels = message.serLabels;
        if (message.uuidList && message.uuidList.length) {
            object.uuidList = [];
            for (var j = 0; j < message.uuidList.length; ++j)
                object.uuidList[j] = message.uuidList[j];
        }
        if (message.createTimeOUTSET != null && message.hasOwnProperty("createTimeOUTSET"))
            object.createTimeOUTSET = message.createTimeOUTSET;
        if (message.createTimeFINISH != null && message.hasOwnProperty("createTimeFINISH"))
            object.createTimeFINISH = message.createTimeFINISH;
        if (message.lastModifyTimeOUTSET != null && message.hasOwnProperty("lastModifyTimeOUTSET"))
            object.lastModifyTimeOUTSET = message.lastModifyTimeOUTSET;
        if (message.lastModifyTimeFINISH != null && message.hasOwnProperty("lastModifyTimeFINISH"))
            object.lastModifyTimeFINISH = message.lastModifyTimeFINISH;
        if (message.serAuditList && message.serAuditList.length) {
            object.serAuditList = [];
            for (var j = 0; j < message.serAuditList.length; ++j)
                object.serAuditList[j] = message.serAuditList[j];
        }
        if (message.serFileUrl != null && message.hasOwnProperty("serFileUrl"))
            object.serFileUrl = message.serFileUrl;
        if (message.serEditorContent != null && message.hasOwnProperty("serEditorContent"))
            object.serEditorContent = message.serEditorContent;
        if (message.serName != null && message.hasOwnProperty("serName"))
            object.serName = message.serName;
        if (message.serNameEn != null && message.hasOwnProperty("serNameEn"))
            object.serNameEn = message.serNameEn;
        if (message.serNameBgImgUrl != null && message.hasOwnProperty("serNameBgImgUrl"))
            object.serNameBgImgUrl = message.serNameBgImgUrl;
        if (message.serSortNumber != null && message.hasOwnProperty("serSortNumber"))
            object.serSortNumber = message.serSortNumber;
        if (message.fkZoneTemplate != null && message.hasOwnProperty("fkZoneTemplate"))
            object.fkZoneTemplate = message.fkZoneTemplate;
        if (message.serBigImgUrl != null && message.hasOwnProperty("serBigImgUrl"))
            object.serBigImgUrl = message.serBigImgUrl;
        if (message.fkUpperZoneIsNull != null && message.hasOwnProperty("fkUpperZoneIsNull"))
            object.fkUpperZoneIsNull = message.fkUpperZoneIsNull;
        if (message.fkUpperZoneList && message.fkUpperZoneList.length) {
            object.fkUpperZoneList = [];
            for (var j = 0; j < message.fkUpperZoneList.length; ++j)
                object.fkUpperZoneList[j] = message.fkUpperZoneList[j];
        }
        if (message.fkZoneTemplateList && message.fkZoneTemplateList.length) {
            object.fkZoneTemplateList = [];
            for (var j = 0; j < message.fkZoneTemplateList.length; ++j)
                object.fkZoneTemplateList[j] = message.fkZoneTemplateList[j];
        }
        if (message.enuPositionList && message.enuPositionList.length) {
            object.enuPositionList = [];
            for (var j = 0; j < message.enuPositionList.length; ++j)
                object.enuPositionList[j] = message.enuPositionList[j];
        }
        return object;
    };

    /**
     * Converts this ConZoneTypeCondition to JSON.
     * @function toJSON
     * @memberof ConZoneTypeCondition
     * @instance
     * @returns {Object.<string,*>} JSON object
     */
    ConZoneTypeCondition.prototype.toJSON = function toJSON() {
        return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
    };

    return ConZoneTypeCondition;
})();

module.exports = $root;
